<template>
    <div>
<table>
    <tr>
        <td>名称</td>
        <td>
            <input type="text" />
        </td>
    </tr>
    <tr>
        <td>价格</td>
        <td>
            <input type="text" />
        </td>
    </tr>
    <tr>
        <td>数量</td>
        <td> <input type="text" /></td>
    </tr>
    <tr>
        <td>时间</td>
        <td> <input type="text" /></td>
    </tr>
    <tr>
        <td></td>
        <td>
            <input type="button" value="提交" @click="dianji"/>
         
        </td>
    </tr>
</table>
    </div>
</template>



<script setup lang="ts">

import { ref } from 'vue';
import { useRouter } from 'vue-router';
const router = useRouter()
const dianji = () => {
    alert("添加成功");
    
}

</script>

<style scoped>

</style>